﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/design.Master" CodeBehind="tagcloud.aspx.vb" Inherits="CakeThatIBaked.tagcloud" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="theheader">
        Tag Cloud
    </div>
<div class="thepage">
    <asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource1">
    <ItemTemplate>
    <%# getTags(Eval("CountOfCT_FID"), Eval("TagName"))%>
    </ItemTemplate>
    </asp:Repeater>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:CakeConnection %>" 
        ProviderName="<%$ ConnectionStrings:CakeConnection.ProviderName %>" 
        
        SelectCommand="SELECT [TagName], [CountOfCT_FID] FROM [CountAllTags] ORDER BY RND([CountOfCT_FID]-Timer())">
    </asp:SqlDataSource>
</div>
</asp:Content>
